package com.mt.checkerin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

import com.mt.checkerin.IBianQuLogin;

@Controller
public class WebSiteController {
	
	@RequestMapping("/ok")
	public String login(ModelMap mdl) {
		IBianQuLogin bq = new IBianQuLogin();
		String rstStr = bq.login();
		
		mdl.addAttribute("rstStr", rstStr);
		return "ok";
	}
}
